//
//  HomeVC.swift
//  XMTV
//
//  Created by 王磊 on 17/4/26.
//  Copyright © 2017年 王磊. All rights reserved.
//

import UIKit

private let kTitleViewH:CGFloat = 40
class HomeVC: UIViewController {

//    fileprivate lazy var pageMenuView: 
    
    
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
    self.view.backgroundColor = UIColor.white
//        NotificationCenter.default.addObserver(self, selector: #selector(updateChannel(notification:)), name: NotifyUpdateCategory, object: nil)
        setupUI()
    }

    func setupUI() {
        automaticallyAdjustsScrollViewInsets = false
        navigationItem.titleView = UIImageView.init(image: UIImage.init(named: "title_image"))
        
    }
//    func updateChannel(notification: NSNotification) {
//        let dict = notification.userInfo
//        var childvcs = [UIViewController]()
//        if dict != nil {
//            guard let channels = dict![KSelectedChannel] else {return}
//            if (channels as![]) {
//                <#code#>
//            }
//        }
//    }

    

}
